package com.tanhua.test;

import com.sms.SmsTemplate;
import com.tanhua.TanhuaAppServerApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = TanhuaAppServerApplication.class)
public class SmsTemplateTest01 {


    @Autowired
    private SmsTemplate smsTemplate;


    @Test
    public void testSms(){
        smsTemplate.send("17602128959","145632");
        System.out.println("ok");
    }


}
